package cn.edu.scau.cmi.chenyipeng.client;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class AdapterOfObjectClient extends Application {
    @Override
    public void start(Stage primaryStage) {
        try {
        	Parent root =FXMLLoader.load(getClass().getResource("/cn/edu/scau/cmi/chenyipeng/Adapter/AdapterOfObjectUI.fxml"));
			Scene scene = new Scene(root);
			primaryStage.setScene(scene);
			primaryStage.setTitle("实验4：对象适配器");
			primaryStage.setResizable(false);
			primaryStage.show();
        } catch(Exception e) {
            e.printStackTrace();
        }
    }

    public static void main(String[] args) {
        launch(args);
    }
}
